package com.neusoft.neuiotms.dcom.repository.change;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.change.ChangeApproval;

public interface ChangeApprovalRepository
        extends JpaRepository<ChangeApproval, Long>, CustomizedChangeApprovalRepository {

    ChangeApproval findByWorkOrderNumAndTaskId(String workOrderNum, String taskId);

    void deleteByWorkOrderNum(String workOrderNum);

    ChangeApproval findByWorkOrderNum(String workOrderNum);
}
